package online.exam.my.mapper;

import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
 * @author 阳阳丶Sheep
 * created in 2020/3/1 15:11
 */

public interface MyMapper<T> extends Mapper<T>, MySqlMapper<T> {

    /**
     * 根据 id 删除一个实体信息
     */
    int deletePojo(@Param("id") String id);

    /**
     * 根据 id 删除多个实体信息
     */
    int deleteMorePojo(@Param("ids") List<String> ids);

}
